/* Project: POPS
 * CS 279, Vanderbilt University
 * by: Igor I. Ges, Michael S. Parrish, Mark E. Sakauye
 *
 *  This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.popsGUI.java;

/**
 *
 * @author  __USER__
 */
public class PopsGUI extends javax.swing.JFrame {

	/** Creates new form PopsGUI */
	public PopsGUI() {
		initComponents();
		/*
		jPanel1.setVisible(true);
		jPanel2.setVisible(false);
		jPanel3.setVisible(false);
		jPanel4.setVisible(false);
		 */
	}

	/** This method is called from within the constructor to
	 * initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is
	 * always regenerated by the Form Editor.
	 */
	//GEN-BEGIN:initComponents
	// <editor-fold defaultstate="collapsed" desc="Generated Code">
	private void initComponents() {

		addItemtoOrder = new javax.swing.JDialog();
		itemList = new javax.swing.JComboBox();
		selectItemLabel = new javax.swing.JLabel();
		addItem = new javax.swing.JButton();
		cancelInAddItem = new javax.swing.JButton();
		itemNameLabel = new javax.swing.JLabel();
		itemPriceLabel = new javax.swing.JLabel();
		itemQuantityLabel = new javax.swing.JLabel();
		itemNameField = new javax.swing.JTextField();
		itemPriceField = new javax.swing.JTextField();
		itemQuantityField = new javax.swing.JTextField();
		deleteOrderConfirmation = new javax.swing.JDialog();
		delConfirmationDialog = new javax.swing.JLabel();
		delOrder = new javax.swing.JButton();
		cancelDelOrder = new javax.swing.JButton();
		javax.swing.JPanel createOrderPanel = new javax.swing.JPanel();
		custLabel = new javax.swing.JLabel();
		custName = new javax.swing.JTextField();
		jLabel1 = new javax.swing.JLabel();
		addressLine1 = new javax.swing.JTextField();
		addressLine2 = new javax.swing.JTextField();
		addressLine3 = new javax.swing.JTextField();
		jScrollPane1 = new javax.swing.JScrollPane();
		notes = new javax.swing.JTextArea();
		notesLabel = new javax.swing.JLabel();
		addItemToOrder = new javax.swing.JButton();
		removeItemFromOrder = new javax.swing.JButton();
		jScrollPane2 = new javax.swing.JScrollPane();
		itemsOrdered = new javax.swing.JList();
		processOrder = new javax.swing.JButton();
		itemsLabel = new javax.swing.JLabel();
		custInfoPanel = new javax.swing.JPanel();
		custNameLabel = new javax.swing.JLabel();
		billingInfoLabel = new javax.swing.JLabel();
		shipInfoLabel = new javax.swing.JLabel();
		custNameField = new javax.swing.JTextField();
		billingInfoPane = new javax.swing.JScrollPane();
		jTextArea1 = new javax.swing.JTextArea();
		shippingInfoPane = new javax.swing.JScrollPane();
		jTextArea2 = new javax.swing.JTextArea();
		jLabel15 = new javax.swing.JLabel();
		jScrollPane8 = new javax.swing.JScrollPane();
		jTextArea3 = new javax.swing.JTextArea();
		jLabel16 = new javax.swing.JLabel();
		jScrollPane9 = new javax.swing.JScrollPane();
		jTextArea4 = new javax.swing.JTextArea();
		deleteOrderPanel = new javax.swing.JPanel();
		orderList2 = new javax.swing.JComboBox();
		selectOrderLabel = new javax.swing.JLabel();
		orderInfo = new javax.swing.JLabel();
		jScrollPane10 = new javax.swing.JScrollPane();
		jTextArea5 = new javax.swing.JTextArea();
		deleteOrderButton = new javax.swing.JButton();
		cancelButton = new javax.swing.JButton();
		changeStatusPanel = new javax.swing.JPanel();
		orderList = new javax.swing.JComboBox();
		changeStatusLabel = new javax.swing.JLabel();
		statusLabel = new javax.swing.JLabel();
		statusField = new javax.swing.JTextField();
		changeStatusButton = new javax.swing.JButton();
		cancelButton2 = new javax.swing.JButton();
		viewOrderPanel = new javax.swing.JPanel();
		jLabel7 = new javax.swing.JLabel();
		viewOrderButton = new javax.swing.JButton();
		viewOrderCancelButton = new javax.swing.JButton();
		jScrollPane11 = new javax.swing.JScrollPane();
		jTable1 = new javax.swing.JTable();
		editOrderPanel = new javax.swing.JPanel();
		custLabel1 = new javax.swing.JLabel();
		custName1 = new javax.swing.JTextField();
		shipLabel = new javax.swing.JLabel();
		addressLine4 = new javax.swing.JTextField();
		addressLine5 = new javax.swing.JTextField();
		addressLine6 = new javax.swing.JTextField();
		jScrollPane4 = new javax.swing.JScrollPane();
		notes1 = new javax.swing.JTextArea();
		notesLabel1 = new javax.swing.JLabel();
		addItemInCreateOrder = new javax.swing.JButton();
		removeItem = new javax.swing.JButton();
		eobIneoPanel = new javax.swing.JButton();
		itemList2 = new javax.swing.JLabel();
		jScrollPane3 = new javax.swing.JScrollPane();
		jList1 = new javax.swing.JList();
		jLayeredPane1 = new javax.swing.JLayeredPane();
		jPanel1 = new javax.swing.JPanel();
		jPanel1Label = new javax.swing.JLabel();
		jPanel1Forward = new javax.swing.JButton();
		jPanel2 = new javax.swing.JPanel();
		jPanel2Label = new javax.swing.JLabel();
		jPanel2Forward = new javax.swing.JButton();
		jPanel2Back = new javax.swing.JButton();
		jPanel3 = new javax.swing.JPanel();
		jPanel3Label = new javax.swing.JLabel();
		jPanel3Forward = new javax.swing.JButton();
		jPanel3Back = new javax.swing.JButton();
		jPanel4 = new javax.swing.JPanel();
		jPanel4Label = new javax.swing.JLabel();
		jPanel4Back = new javax.swing.JButton();

		itemList.setModel(new javax.swing.DefaultComboBoxModel(new String[] {
				"Item 1", "Item 2", "Item 3", "Item 4" }));

		selectItemLabel.setText("Select the item to add below");

		addItem.setLabel("Add Item to order");

		cancelInAddItem.setLabel("Cancel");

		itemNameLabel.setText("Item Name");

		itemPriceLabel.setText("Item Price");

		itemQuantityLabel.setText("Item Quantity");

		itemNameField.setText("jTextField1");

		itemPriceField.setText("jTextField2");

		itemQuantityField.setText("jTextField3");

		javax.swing.GroupLayout addItemtoOrderLayout = new javax.swing.GroupLayout(
				addItemtoOrder.getContentPane());
		addItemtoOrder.getContentPane().setLayout(addItemtoOrderLayout);
		addItemtoOrderLayout
				.setHorizontalGroup(addItemtoOrderLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								addItemtoOrderLayout
										.createSequentialGroup()
										.addGroup(
												addItemtoOrderLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																addItemtoOrderLayout
																		.createSequentialGroup()
																		.addGap(
																				115,
																				115,
																				115)
																		.addComponent(
																				selectItemLabel))
														.addGroup(
																addItemtoOrderLayout
																		.createSequentialGroup()
																		.addGap(
																				68,
																				68,
																				68)
																		.addGroup(
																				addItemtoOrderLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addGroup(
																								addItemtoOrderLayout
																										.createSequentialGroup()
																										.addComponent(
																												addItem)
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																										.addComponent(
																												cancelInAddItem))
																						.addComponent(
																								itemList,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								253,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addGroup(
																								addItemtoOrderLayout
																										.createSequentialGroup()
																										.addGap(
																												13,
																												13,
																												13)
																										.addComponent(
																												itemNameLabel)
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																										.addComponent(
																												itemNameField,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												148,
																												javax.swing.GroupLayout.PREFERRED_SIZE))
																						.addGroup(
																								addItemtoOrderLayout
																										.createParallelGroup(
																												javax.swing.GroupLayout.Alignment.TRAILING)
																										.addGroup(
																												addItemtoOrderLayout
																														.createSequentialGroup()
																														.addComponent(
																																itemPriceLabel)
																														.addPreferredGap(
																																javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																														.addComponent(
																																itemPriceField,
																																javax.swing.GroupLayout.PREFERRED_SIZE,
																																javax.swing.GroupLayout.DEFAULT_SIZE,
																																javax.swing.GroupLayout.PREFERRED_SIZE))
																										.addGroup(
																												javax.swing.GroupLayout.Alignment.LEADING,
																												addItemtoOrderLayout
																														.createSequentialGroup()
																														.addPreferredGap(
																																javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																														.addComponent(
																																itemQuantityLabel)
																														.addPreferredGap(
																																javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																														.addComponent(
																																itemQuantityField,
																																javax.swing.GroupLayout.PREFERRED_SIZE,
																																javax.swing.GroupLayout.DEFAULT_SIZE,
																																javax.swing.GroupLayout.PREFERRED_SIZE))))))
										.addContainerGap(96, Short.MAX_VALUE)));

		addItemtoOrderLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { itemNameField, itemPriceField,
						itemQuantityField });

		addItemtoOrderLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { addItem, cancelInAddItem });

		addItemtoOrderLayout
				.setVerticalGroup(addItemtoOrderLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								addItemtoOrderLayout
										.createSequentialGroup()
										.addGap(26, 26, 26)
										.addComponent(selectItemLabel)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addComponent(
												itemList,
												javax.swing.GroupLayout.PREFERRED_SIZE,
												36,
												javax.swing.GroupLayout.PREFERRED_SIZE)
										.addGap(36, 36, 36)
										.addGroup(
												addItemtoOrderLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																itemNameLabel)
														.addComponent(
																itemNameField,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												addItemtoOrderLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																itemPriceField,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(
																itemPriceLabel))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												addItemtoOrderLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addComponent(
																itemQuantityField,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE)
														.addComponent(
																itemQuantityLabel))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												76, Short.MAX_VALUE)
										.addGroup(
												addItemtoOrderLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(addItem)
														.addComponent(
																cancelInAddItem))
										.addContainerGap()));

		delConfirmationDialog
				.setText("Are you sure you want to delete this order?");

		delOrder.setLabel("Delete");

		cancelDelOrder.setLabel("Cancel");

		javax.swing.GroupLayout deleteOrderConfirmationLayout = new javax.swing.GroupLayout(
				deleteOrderConfirmation.getContentPane());
		deleteOrderConfirmation.getContentPane().setLayout(
				deleteOrderConfirmationLayout);
		deleteOrderConfirmationLayout
				.setHorizontalGroup(deleteOrderConfirmationLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								deleteOrderConfirmationLayout
										.createSequentialGroup()
										.addGap(70, 70, 70)
										.addGroup(
												deleteOrderConfirmationLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING,
																false)
														.addGroup(
																deleteOrderConfirmationLayout
																		.createSequentialGroup()
																		.addComponent(
																				delOrder)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				Short.MAX_VALUE)
																		.addComponent(
																				cancelDelOrder))
														.addComponent(
																delConfirmationDialog))
										.addContainerGap(60, Short.MAX_VALUE)));

		deleteOrderConfirmationLayout.linkSize(
				javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { cancelDelOrder, delOrder });

		deleteOrderConfirmationLayout
				.setVerticalGroup(deleteOrderConfirmationLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								deleteOrderConfirmationLayout
										.createSequentialGroup()
										.addGap(45, 45, 45)
										.addComponent(delConfirmationDialog)
										.addGap(30, 30, 30)
										.addGroup(
												deleteOrderConfirmationLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(delOrder)
														.addComponent(
																cancelDelOrder))
										.addContainerGap(38, Short.MAX_VALUE)));

		createOrderPanel
				.addComponentListener(new java.awt.event.ComponentAdapter() {
					public void componentHidden(
							java.awt.event.ComponentEvent evt) {
						createOrderPanelComponentHidden(evt);
					}

					public void componentShown(java.awt.event.ComponentEvent evt) {
						createOrderPanelComponentShown(evt);
					}
				});

		custLabel.setText("Customer");

		custName.setText("Customer Name");

		jLabel1.setText("Ship To");

		addressLine1.setText("Address");

		addressLine2.setText("Address");
		addressLine2.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				addressLine2ActionPerformed(evt);
			}
		});

		addressLine3.setText("Address");

		notes.setColumns(20);
		notes.setRows(5);
		jScrollPane1.setViewportView(notes);

		notesLabel.setText("Notes");

		addItemToOrder.setLabel("Add Item");

		removeItemFromOrder.setLabel("Remove Item");

		itemsOrdered.setModel(new javax.swing.AbstractListModel() {
			String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4",
					"Item 5" };

			public int getSize() {
				return strings.length;
			}

			public Object getElementAt(int i) {
				return strings[i];
			}
		});
		jScrollPane2.setViewportView(itemsOrdered);

		processOrder.setLabel("Process Order");

		itemsLabel.setText("Items");

		javax.swing.GroupLayout createOrderPanelLayout = new javax.swing.GroupLayout(
				createOrderPanel);
		createOrderPanel.setLayout(createOrderPanelLayout);
		createOrderPanelLayout
				.setHorizontalGroup(createOrderPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								createOrderPanelLayout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												createOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.TRAILING)
														.addComponent(custLabel)
														.addComponent(
																notesLabel)
														.addComponent(jLabel1))
										.addGroup(
												createOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																createOrderPanelLayout
																		.createSequentialGroup()
																		.addGap(
																				28,
																				28,
																				28)
																		.addComponent(
																				processOrder)
																		.addGap(
																				150,
																				150,
																				150)
																		.addComponent(
																				addItemToOrder)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				removeItemFromOrder))
														.addGroup(
																createOrderPanelLayout
																		.createSequentialGroup()
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addGroup(
																				createOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addComponent(
																								jScrollPane1,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addGroup(
																								createOrderPanelLayout
																										.createParallelGroup(
																												javax.swing.GroupLayout.Alignment.LEADING,
																												false)
																										.addComponent(
																												addressLine3,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												javax.swing.GroupLayout.PREFERRED_SIZE)
																										.addComponent(
																												addressLine2,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												javax.swing.GroupLayout.PREFERRED_SIZE)
																										.addComponent(
																												addressLine1,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												111,
																												Short.MAX_VALUE)
																										.addComponent(
																												custName)))
																		.addGap(
																				8,
																				8,
																				8)
																		.addComponent(
																				itemsLabel)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				jScrollPane2,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				319,
																				javax.swing.GroupLayout.PREFERRED_SIZE)))
										.addContainerGap(123, Short.MAX_VALUE)));

		createOrderPanelLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { addressLine1, addressLine2,
						addressLine3, custName, jScrollPane1 });

		createOrderPanelLayout
				.linkSize(javax.swing.SwingConstants.HORIZONTAL,
						new java.awt.Component[] { addItemToOrder,
								removeItemFromOrder });

		createOrderPanelLayout
				.setVerticalGroup(createOrderPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								createOrderPanelLayout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												createOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING,
																false)
														.addGroup(
																createOrderPanelLayout
																		.createSequentialGroup()
																		.addGroup(
																				createOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.BASELINE)
																						.addComponent(
																								custLabel)
																						.addComponent(
																								custName,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								itemsLabel))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addGroup(
																				createOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.BASELINE)
																						.addComponent(
																								addressLine1,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								jLabel1))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				addressLine2,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				addressLine3,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addGroup(
																				createOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addComponent(
																								jScrollPane1,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								notesLabel)))
														.addComponent(
																jScrollPane2))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												133, Short.MAX_VALUE)
										.addGroup(
												createOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																processOrder)
														.addComponent(
																addItemToOrder)
														.addComponent(
																removeItemFromOrder))
										.addContainerGap()));

		custNameLabel.setText("Customer Name");

		billingInfoLabel.setText("Billing Information");

		shipInfoLabel.setText("Shipping Information");

		custNameField.setText("jTextField5");

		jTextArea1.setColumns(20);
		jTextArea1.setRows(5);
		billingInfoPane.setViewportView(jTextArea1);

		jTextArea2.setColumns(20);
		jTextArea2.setRows(5);
		shippingInfoPane.setViewportView(jTextArea2);

		jLabel15.setText("Directions");

		jTextArea3.setColumns(20);
		jTextArea3.setRows(5);
		jScrollPane8.setViewportView(jTextArea3);

		jLabel16.setText("Sales Information");

		jTextArea4.setColumns(20);
		jTextArea4.setRows(5);
		jScrollPane9.setViewportView(jTextArea4);

		javax.swing.GroupLayout custInfoPanelLayout = new javax.swing.GroupLayout(
				custInfoPanel);
		custInfoPanel.setLayout(custInfoPanelLayout);
		custInfoPanelLayout
				.setHorizontalGroup(custInfoPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								javax.swing.GroupLayout.Alignment.TRAILING,
								custInfoPanelLayout
										.createSequentialGroup()
										.addGroup(
												custInfoPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.TRAILING)
														.addGroup(
																javax.swing.GroupLayout.Alignment.LEADING,
																custInfoPanelLayout
																		.createSequentialGroup()
																		.addGap(
																				44,
																				44,
																				44)
																		.addComponent(
																				custNameLabel)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				custNameField,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				240,
																				Short.MAX_VALUE))
														.addGroup(
																custInfoPanelLayout
																		.createSequentialGroup()
																		.addGap(
																				20,
																				20,
																				20)
																		.addGroup(
																				custInfoPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addGroup(
																								custInfoPanelLayout
																										.createSequentialGroup()
																										.addComponent(
																												shipInfoLabel)
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																										.addComponent(
																												shippingInfoPane,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												238,
																												Short.MAX_VALUE))
																						.addGroup(
																								custInfoPanelLayout
																										.createSequentialGroup()
																										.addGap(
																												13,
																												13,
																												13)
																										.addComponent(
																												billingInfoLabel)
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																										.addComponent(
																												billingInfoPane,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												239,
																												Short.MAX_VALUE)))))
										.addGap(36, 36, 36)
										.addComponent(jLabel15)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addComponent(
												jScrollPane8,
												javax.swing.GroupLayout.PREFERRED_SIZE,
												257,
												javax.swing.GroupLayout.PREFERRED_SIZE)
										.addGap(45, 45, 45)
										.addComponent(jLabel16)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
										.addComponent(
												jScrollPane9,
												javax.swing.GroupLayout.PREFERRED_SIZE,
												187,
												javax.swing.GroupLayout.PREFERRED_SIZE)));
		custInfoPanelLayout
				.setVerticalGroup(custInfoPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								custInfoPanelLayout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												custInfoPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																custNameLabel)
														.addComponent(
																custNameField,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
										.addGroup(
												custInfoPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																custInfoPanelLayout
																		.createSequentialGroup()
																		.addComponent(
																				jLabel16)
																		.addContainerGap())
														.addGroup(
																javax.swing.GroupLayout.Alignment.TRAILING,
																custInfoPanelLayout
																		.createSequentialGroup()
																		.addGroup(
																				custInfoPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.TRAILING)
																						.addComponent(
																								jScrollPane9,
																								javax.swing.GroupLayout.Alignment.LEADING,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								270,
																								Short.MAX_VALUE)
																						.addComponent(
																								jScrollPane8,
																								javax.swing.GroupLayout.Alignment.LEADING,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								270,
																								Short.MAX_VALUE)
																						.addComponent(
																								jLabel15,
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addGroup(
																								javax.swing.GroupLayout.Alignment.LEADING,
																								custInfoPanelLayout
																										.createSequentialGroup()
																										.addGroup(
																												custInfoPanelLayout
																														.createParallelGroup(
																																javax.swing.GroupLayout.Alignment.LEADING)
																														.addComponent(
																																shipInfoLabel)
																														.addComponent(
																																shippingInfoPane,
																																javax.swing.GroupLayout.PREFERRED_SIZE,
																																113,
																																javax.swing.GroupLayout.PREFERRED_SIZE))
																										.addPreferredGap(
																												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																										.addGroup(
																												custInfoPanelLayout
																														.createParallelGroup(
																																javax.swing.GroupLayout.Alignment.LEADING)
																														.addComponent(
																																billingInfoPane,
																																javax.swing.GroupLayout.DEFAULT_SIZE,
																																150,
																																Short.MAX_VALUE)
																														.addComponent(
																																billingInfoLabel))))
																		.addGap(
																				134,
																				134,
																				134)))));

		orderList2.setModel(new javax.swing.DefaultComboBoxModel(new String[] {
				"Item 1", "Item 2", "Item 3", "Item 4" }));

		selectOrderLabel.setText("Select the order to delete");

		orderInfo.setText("Order Information");

		jTextArea5.setColumns(20);
		jTextArea5.setRows(5);
		jScrollPane10.setViewportView(jTextArea5);

		deleteOrderButton.setLabel("Delete Order");

		cancelButton.setLabel("Cancel");

		javax.swing.GroupLayout deleteOrderPanelLayout = new javax.swing.GroupLayout(
				deleteOrderPanel);
		deleteOrderPanel.setLayout(deleteOrderPanelLayout);
		deleteOrderPanelLayout
				.setHorizontalGroup(deleteOrderPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								deleteOrderPanelLayout
										.createSequentialGroup()
										.addContainerGap(176, Short.MAX_VALUE)
										.addGroup(
												deleteOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																javax.swing.GroupLayout.Alignment.TRAILING,
																deleteOrderPanelLayout
																		.createSequentialGroup()
																		.addComponent(
																				orderList2,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				233,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addGap(
																				132,
																				132,
																				132))
														.addGroup(
																javax.swing.GroupLayout.Alignment.TRAILING,
																deleteOrderPanelLayout
																		.createSequentialGroup()
																		.addComponent(
																				selectOrderLabel)
																		.addGap(
																				178,
																				178,
																				178))))
						.addGroup(
								deleteOrderPanelLayout
										.createSequentialGroup()
										.addGap(57, 57, 57)
										.addComponent(orderInfo)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												deleteOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING,
																false)
														.addGroup(
																deleteOrderPanelLayout
																		.createSequentialGroup()
																		.addComponent(
																				deleteOrderButton)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				Short.MAX_VALUE)
																		.addComponent(
																				cancelButton))
														.addComponent(
																jScrollPane10,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																284,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addContainerGap(99, Short.MAX_VALUE)));

		deleteOrderPanelLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { cancelButton, deleteOrderButton });

		deleteOrderPanelLayout
				.setVerticalGroup(deleteOrderPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								deleteOrderPanelLayout
										.createSequentialGroup()
										.addGap(37, 37, 37)
										.addComponent(selectOrderLabel)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addComponent(
												orderList2,
												javax.swing.GroupLayout.PREFERRED_SIZE,
												32,
												javax.swing.GroupLayout.PREFERRED_SIZE)
										.addGap(32, 32, 32)
										.addGroup(
												deleteOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addComponent(orderInfo)
														.addComponent(
																jScrollPane10,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																200,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												34, Short.MAX_VALUE)
										.addGroup(
												deleteOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																deleteOrderButton)
														.addComponent(
																cancelButton))
										.addContainerGap()));

		orderList.setModel(new javax.swing.DefaultComboBoxModel(new String[] {
				"Item 1", "Item 2", "Item 3", "Item 4" }));

		changeStatusLabel.setText("Select the order to change the status of");

		statusLabel.setText("Status");

		statusField.setText("Order Status");

		changeStatusButton.setLabel("Change Status");
		changeStatusButton
				.addActionListener(new java.awt.event.ActionListener() {
					public void actionPerformed(java.awt.event.ActionEvent evt) {
						changeStatusButtonActionPerformed(evt);
					}
				});

		cancelButton2.setLabel("Cancel");

		javax.swing.GroupLayout changeStatusPanelLayout = new javax.swing.GroupLayout(
				changeStatusPanel);
		changeStatusPanel.setLayout(changeStatusPanelLayout);
		changeStatusPanelLayout
				.setHorizontalGroup(changeStatusPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								changeStatusPanelLayout
										.createSequentialGroup()
										.addGap(198, 198, 198)
										.addComponent(statusLabel)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												changeStatusPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING,
																false)
														.addGroup(
																changeStatusPanelLayout
																		.createSequentialGroup()
																		.addComponent(
																				changeStatusButton)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				Short.MAX_VALUE)
																		.addComponent(
																				cancelButton2))
														.addComponent(
																statusField)
														.addComponent(
																orderList, 0,
																241,
																Short.MAX_VALUE))
										.addContainerGap(198, Short.MAX_VALUE))
						.addGroup(
								javax.swing.GroupLayout.Alignment.TRAILING,
								changeStatusPanelLayout.createSequentialGroup()
										.addContainerGap(255, Short.MAX_VALUE)
										.addComponent(changeStatusLabel)
										.addGap(213, 213, 213)));

		changeStatusPanelLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { cancelButton2, changeStatusButton });

		changeStatusPanelLayout
				.setVerticalGroup(changeStatusPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								javax.swing.GroupLayout.Alignment.TRAILING,
								changeStatusPanelLayout
										.createSequentialGroup()
										.addGap(36, 36, 36)
										.addComponent(changeStatusLabel)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addComponent(
												orderList,
												javax.swing.GroupLayout.PREFERRED_SIZE,
												37,
												javax.swing.GroupLayout.PREFERRED_SIZE)
										.addGap(70, 70, 70)
										.addGroup(
												changeStatusPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																statusLabel)
														.addComponent(
																statusField,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												170, Short.MAX_VALUE)
										.addGroup(
												changeStatusPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																changeStatusButton)
														.addComponent(
																cancelButton2))
										.addContainerGap()));

		jLabel7.setText("Orders");

		viewOrderButton.setLabel("View Information");

		viewOrderCancelButton.setLabel("Cancel");

		jTable1.setModel(new javax.swing.table.DefaultTableModel(
				new Object[][] { { null, null, null, null },
						{ null, null, null, null }, { null, null, null, null },
						{ null, null, null, null } }, new String[] { "Title 1",
						"Title 2", "Title 3", "Title 4" }));
		jScrollPane11.setViewportView(jTable1);

		javax.swing.GroupLayout viewOrderPanelLayout = new javax.swing.GroupLayout(
				viewOrderPanel);
		viewOrderPanel.setLayout(viewOrderPanelLayout);
		viewOrderPanelLayout
				.setHorizontalGroup(viewOrderPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								viewOrderPanelLayout
										.createSequentialGroup()
										.addGap(48, 48, 48)
										.addComponent(jLabel7)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addGroup(
												viewOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING,
																false)
														.addGroup(
																javax.swing.GroupLayout.Alignment.TRAILING,
																viewOrderPanelLayout
																		.createSequentialGroup()
																		.addComponent(
																				viewOrderButton)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				Short.MAX_VALUE)
																		.addComponent(
																				viewOrderCancelButton))
														.addComponent(
																jScrollPane11,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																394,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addContainerGap(119, Short.MAX_VALUE)));

		viewOrderPanelLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { viewOrderButton,
						viewOrderCancelButton });

		viewOrderPanelLayout
				.setVerticalGroup(viewOrderPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								viewOrderPanelLayout
										.createSequentialGroup()
										.addGap(30, 30, 30)
										.addGroup(
												viewOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addComponent(jLabel7)
														.addComponent(
																jScrollPane11,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																291,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												91, Short.MAX_VALUE)
										.addGroup(
												viewOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.BASELINE)
														.addComponent(
																viewOrderCancelButton)
														.addComponent(
																viewOrderButton))
										.addContainerGap()));

		editOrderPanel
				.addComponentListener(new java.awt.event.ComponentAdapter() {
					public void componentHidden(
							java.awt.event.ComponentEvent evt) {
						editOrderPanelComponentHidden(evt);
					}

					public void componentShown(java.awt.event.ComponentEvent evt) {
						editOrderPanelComponentShown(evt);
					}
				});

		custLabel1.setText("Customer");

		custName1.setText("Customer Name");

		shipLabel.setText("Ship To");

		addressLine4.setText("Address");

		addressLine5.setText("Address");
		addressLine5.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				addressLine5ActionPerformed(evt);
			}
		});

		addressLine6.setText("Address");

		notes1.setColumns(20);
		notes1.setRows(5);
		jScrollPane4.setViewportView(notes1);

		notesLabel1.setText("Notes");

		addItemInCreateOrder.setLabel("Add Item");

		removeItem.setLabel("Remove Item");

		eobIneoPanel.setLabel("Edit Order");

		itemList2.setText("Items");

		jList1.setModel(new javax.swing.AbstractListModel() {
			String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4",
					"Item 5" };

			public int getSize() {
				return strings.length;
			}

			public Object getElementAt(int i) {
				return strings[i];
			}
		});
		jScrollPane3.setViewportView(jList1);

		javax.swing.GroupLayout editOrderPanelLayout = new javax.swing.GroupLayout(
				editOrderPanel);
		editOrderPanel.setLayout(editOrderPanelLayout);
		editOrderPanelLayout
				.setHorizontalGroup(editOrderPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								editOrderPanelLayout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												editOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.TRAILING)
														.addComponent(
																custLabel1)
														.addComponent(
																notesLabel1)
														.addComponent(shipLabel))
										.addGroup(
												editOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																editOrderPanelLayout
																		.createSequentialGroup()
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addGroup(
																				editOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addComponent(
																								jScrollPane4,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addGroup(
																								editOrderPanelLayout
																										.createParallelGroup(
																												javax.swing.GroupLayout.Alignment.LEADING,
																												false)
																										.addComponent(
																												addressLine6,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												javax.swing.GroupLayout.PREFERRED_SIZE)
																										.addComponent(
																												addressLine5,
																												javax.swing.GroupLayout.PREFERRED_SIZE,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												javax.swing.GroupLayout.PREFERRED_SIZE)
																										.addComponent(
																												addressLine4,
																												javax.swing.GroupLayout.DEFAULT_SIZE,
																												111,
																												Short.MAX_VALUE)
																										.addComponent(
																												custName1)))
																		.addGap(
																				58,
																				58,
																				58)
																		.addComponent(
																				itemList2)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				jScrollPane3,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				295,
																				Short.MAX_VALUE))
														.addGroup(
																editOrderPanelLayout
																		.createSequentialGroup()
																		.addGap(
																				41,
																				41,
																				41)
																		.addComponent(
																				eobIneoPanel)
																		.addGap(
																				137,
																				137,
																				137)
																		.addComponent(
																				addItemInCreateOrder)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				removeItem)))
										.addContainerGap()));

		editOrderPanelLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL,
				new java.awt.Component[] { addressLine4, addressLine5,
						addressLine6, custName1, jScrollPane4 });

		editOrderPanelLayout
				.setVerticalGroup(editOrderPanelLayout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								editOrderPanelLayout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												editOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																editOrderPanelLayout
																		.createSequentialGroup()
																		.addGroup(
																				editOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.BASELINE)
																						.addComponent(
																								custLabel1)
																						.addComponent(
																								custName1,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								itemList2))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addGroup(
																				editOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.BASELINE)
																						.addComponent(
																								addressLine4,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								shipLabel))
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				addressLine5,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				addressLine6,
																				javax.swing.GroupLayout.PREFERRED_SIZE,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				javax.swing.GroupLayout.PREFERRED_SIZE)
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addGroup(
																				editOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.LEADING)
																						.addComponent(
																								jScrollPane4,
																								javax.swing.GroupLayout.PREFERRED_SIZE,
																								javax.swing.GroupLayout.DEFAULT_SIZE,
																								javax.swing.GroupLayout.PREFERRED_SIZE)
																						.addComponent(
																								notesLabel1)))
														.addComponent(
																jScrollPane3,
																javax.swing.GroupLayout.PREFERRED_SIZE,
																197,
																javax.swing.GroupLayout.PREFERRED_SIZE))
										.addGroup(
												editOrderPanelLayout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																editOrderPanelLayout
																		.createSequentialGroup()
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED,
																				103,
																				Short.MAX_VALUE)
																		.addGroup(
																				editOrderPanelLayout
																						.createParallelGroup(
																								javax.swing.GroupLayout.Alignment.BASELINE)
																						.addComponent(
																								addItemInCreateOrder)
																						.addComponent(
																								removeItem))
																		.addContainerGap())
														.addGroup(
																editOrderPanelLayout
																		.createSequentialGroup()
																		.addPreferredGap(
																				javax.swing.LayoutStyle.ComponentPlacement.RELATED)
																		.addComponent(
																				eobIneoPanel)
																		.addContainerGap()))));

		setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

		jLayeredPane1.setMinimumSize(new java.awt.Dimension(490, 330));

		jPanel1Label.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jPanel1Label.setText("First Panel");

		jPanel1Forward.setLabel("Go To Panel 2");
		jPanel1Forward.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jPanel1ForwardActionPerformed(evt);
			}
		});

		javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(
				jPanel1);
		jPanel1.setLayout(jPanel1Layout);
		jPanel1Layout
				.setHorizontalGroup(jPanel1Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								javax.swing.GroupLayout.Alignment.TRAILING,
								jPanel1Layout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												jPanel1Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.TRAILING)
														.addComponent(
																jPanel1Forward,
																javax.swing.GroupLayout.Alignment.LEADING,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE)
														.addComponent(
																jPanel1Label,
																javax.swing.GroupLayout.Alignment.LEADING,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE))
										.addContainerGap()));
		jPanel1Layout
				.setVerticalGroup(jPanel1Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel1Layout
										.createSequentialGroup()
										.addContainerGap()
										.addComponent(jPanel1Label)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												263, Short.MAX_VALUE)
										.addComponent(jPanel1Forward)
										.addContainerGap()));

		jPanel1.setBounds(0, 0, 490, 330);
		jLayeredPane1.add(jPanel1, new Integer(5));

		jPanel2.setMinimumSize(new java.awt.Dimension(490, 330));

		jPanel2Label.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jPanel2Label.setText("Second Panel");
		jPanel2Label.setFocusable(false);
		jPanel2Label
				.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);

		jPanel2Forward.setLabel("Go To Panel 3");
		jPanel2Forward.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jPanel2ForwardActionPerformed(evt);
			}
		});

		jPanel2Back.setLabel("Go Back To Panel 1");
		jPanel2Back.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jPanel2BackActionPerformed(evt);
			}
		});

		javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(
				jPanel2);
		jPanel2.setLayout(jPanel2Layout);
		jPanel2Layout
				.setHorizontalGroup(jPanel2Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel2Layout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												jPanel2Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addComponent(
																jPanel2Forward,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE)
														.addComponent(
																jPanel2Label,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE)
														.addComponent(
																jPanel2Back,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE))
										.addContainerGap()));
		jPanel2Layout
				.setVerticalGroup(jPanel2Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel2Layout
										.createSequentialGroup()
										.addContainerGap()
										.addComponent(jPanel2Label)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												231, Short.MAX_VALUE)
										.addComponent(jPanel2Back)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addComponent(jPanel2Forward)
										.addContainerGap()));

		jPanel2.setBounds(0, 0, 490, 330);
		jLayeredPane1.add(jPanel2, new Integer(4));

		jPanel3.setMinimumSize(new java.awt.Dimension(490, 330));

		jPanel3Label.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jPanel3Label.setText("Third Panel");

		jPanel3Forward.setLabel("Go To Panel 4");
		jPanel3Forward.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jPanel3ForwardActionPerformed(evt);
			}
		});

		jPanel3Back.setLabel("Go Back To Panel 2");
		jPanel3Back.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jPanel3BackActionPerformed(evt);
			}
		});

		javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(
				jPanel3);
		jPanel3.setLayout(jPanel3Layout);
		jPanel3Layout
				.setHorizontalGroup(jPanel3Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel3Layout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												jPanel3Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addComponent(
																jPanel3Forward,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE)
														.addComponent(
																jPanel3Label,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE)
														.addComponent(
																jPanel3Back,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE))
										.addContainerGap()));
		jPanel3Layout
				.setVerticalGroup(jPanel3Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel3Layout
										.createSequentialGroup()
										.addContainerGap()
										.addComponent(jPanel3Label)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												231, Short.MAX_VALUE)
										.addComponent(jPanel3Back)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED)
										.addComponent(jPanel3Forward)
										.addContainerGap()));

		jPanel3.setBounds(0, 0, 490, 330);
		jLayeredPane1.add(jPanel3, new Integer(3));

		jPanel4.setMinimumSize(new java.awt.Dimension(490, 330));

		jPanel4Label.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
		jPanel4Label.setText("Fourth Panel");

		jPanel4Back.setLabel("Go Back To Panel 3");
		jPanel4Back.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				jPanel4BackActionPerformed(evt);
			}
		});

		javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(
				jPanel4);
		jPanel4.setLayout(jPanel4Layout);
		jPanel4Layout
				.setHorizontalGroup(jPanel4Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel4Layout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												jPanel4Layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addComponent(
																jPanel4Back,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE)
														.addComponent(
																jPanel4Label,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																466,
																Short.MAX_VALUE))
										.addContainerGap()));
		jPanel4Layout
				.setVerticalGroup(jPanel4Layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								jPanel4Layout
										.createSequentialGroup()
										.addContainerGap()
										.addComponent(jPanel4Label)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												263, Short.MAX_VALUE)
										.addComponent(jPanel4Back)
										.addContainerGap()));

		jPanel4.setBounds(0, 0, 490, 330);
		jLayeredPane1.add(jPanel4, new Integer(2));

		javax.swing.GroupLayout layout = new javax.swing.GroupLayout(
				getContentPane());
		getContentPane().setLayout(layout);
		layout.setHorizontalGroup(layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addComponent(
				jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 490,
				Short.MAX_VALUE));
		layout.setVerticalGroup(layout.createParallelGroup(
				javax.swing.GroupLayout.Alignment.LEADING).addComponent(
				jLayeredPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 328,
				Short.MAX_VALUE));

		pack();
	}// </editor-fold>
	//GEN-END:initComponents

	private void jPanel4BackActionPerformed(java.awt.event.ActionEvent evt) {
		jLayeredPane1.setLayer(jPanel4, 1);
		jLayeredPane1.setLayer(jPanel3, 5);
		/*
		jPanel4.setVisible(false);
		jPanel3.setVisible(true);
		*/
	}

	private void jPanel3ForwardActionPerformed(java.awt.event.ActionEvent evt) {
		jLayeredPane1.setLayer(jPanel3, 1);
		jLayeredPane1.setLayer(jPanel4, 5);
		/*
		jPanel3.setVisible(false);
		jPanel4.setVisible(true);
		*/
	}

	private void jPanel3BackActionPerformed(java.awt.event.ActionEvent evt) {
		jLayeredPane1.setLayer(jPanel3, 1);
		jLayeredPane1.setLayer(jPanel2, 5);
		/*
		jPanel3.setVisible(false);
		jPanel2.setVisible(true);
		*/
	}

	private void jPanel2BackActionPerformed(java.awt.event.ActionEvent evt) {
		jLayeredPane1.setLayer(jPanel2, 1);
		jLayeredPane1.setLayer(jPanel1, 5);
		/*
		jPanel2.setVisible(false);
		jPanel1.setVisible(true);
		*/
	}

	private void jPanel2ForwardActionPerformed(java.awt.event.ActionEvent evt) {
		jLayeredPane1.setLayer(jPanel2, 1);
		jLayeredPane1.setLayer(jPanel3, 5);
		/*
		jPanel2.setVisible(false);
		jPanel3.setVisible(true);
		*/
	}

	private void jPanel1ForwardActionPerformed(java.awt.event.ActionEvent evt) {
		jLayeredPane1.setLayer(jPanel1, 1);
		jLayeredPane1.setLayer(jPanel2, 5);
		/*
		jPanel1.setVisible(false);
		jPanel2.setVisible(true);
		 */
	}

	private void createOrderMouseClicked(java.awt.event.MouseEvent evt) {
		// TODO add your handling code here:
	}

	private void changeStatusButtonActionPerformed(
			java.awt.event.ActionEvent evt) {
		// TODO add your handling code here:
	}

	private void viewOrderActionPerformed(java.awt.event.ActionEvent evt) {
		// TODO add your handling code here:
	}

	private void jTextField5ActionPerformed(java.awt.event.ActionEvent evt) {
		// TODO add your handling code here:
	}

	private void jButton12ActionPerformed(java.awt.event.ActionEvent evt) {
		// TODO add your handling code here:
	}

	private void editOrderPanelComponentShown(java.awt.event.ComponentEvent evt) {
		// TODO add your handling code here:
	}

	private void editOrderPanelComponentHidden(java.awt.event.ComponentEvent evt) {
		// TODO add your handling code here:
	}

	private void addressLine5ActionPerformed(java.awt.event.ActionEvent evt) {
		// TODO add your handling code here:
	}

	private void createOrderPanelComponentShown(
			java.awt.event.ComponentEvent evt) {
		// TODO add your handling code here:
	}

	private void createOrderPanelComponentHidden(
			java.awt.event.ComponentEvent evt) {
		// TODO add your handling code here:
	}

	private void addressLine2ActionPerformed(java.awt.event.ActionEvent evt) {
		// TODO add your handling code here
	}

	/**
	 * @param args the command line arguments
	 */
	public static void main(String args[]) {
		java.awt.EventQueue.invokeLater(new Runnable() {
			public void run() {
				new PopsGUI().setVisible(true);
			}
		});
	}

	//GEN-BEGIN:variables
	// Variables declaration - do not modify
	private javax.swing.JButton addItem;
	private javax.swing.JButton addItemInCreateOrder;
	private javax.swing.JButton addItemToOrder;
	private javax.swing.JDialog addItemtoOrder;
	private javax.swing.JTextField addressLine1;
	private javax.swing.JTextField addressLine2;
	private javax.swing.JTextField addressLine3;
	private javax.swing.JTextField addressLine4;
	private javax.swing.JTextField addressLine5;
	private javax.swing.JTextField addressLine6;
	private javax.swing.JLabel billingInfoLabel;
	private javax.swing.JScrollPane billingInfoPane;
	private javax.swing.JButton cancelButton;
	private javax.swing.JButton cancelButton2;
	private javax.swing.JButton cancelDelOrder;
	private javax.swing.JButton cancelInAddItem;
	private javax.swing.JButton changeStatusButton;
	private javax.swing.JLabel changeStatusLabel;
	private javax.swing.JPanel changeStatusPanel;
	private javax.swing.JPanel custInfoPanel;
	private javax.swing.JLabel custLabel;
	private javax.swing.JLabel custLabel1;
	private javax.swing.JTextField custName;
	private javax.swing.JTextField custName1;
	private javax.swing.JTextField custNameField;
	private javax.swing.JLabel custNameLabel;
	private javax.swing.JLabel delConfirmationDialog;
	private javax.swing.JButton delOrder;
	private javax.swing.JButton deleteOrderButton;
	private javax.swing.JDialog deleteOrderConfirmation;
	private javax.swing.JPanel deleteOrderPanel;
	private javax.swing.JPanel editOrderPanel;
	private javax.swing.JButton eobIneoPanel;
	private javax.swing.JComboBox itemList;
	private javax.swing.JLabel itemList2;
	private javax.swing.JTextField itemNameField;
	private javax.swing.JLabel itemNameLabel;
	private javax.swing.JTextField itemPriceField;
	private javax.swing.JLabel itemPriceLabel;
	private javax.swing.JTextField itemQuantityField;
	private javax.swing.JLabel itemQuantityLabel;
	private javax.swing.JLabel itemsLabel;
	private javax.swing.JList itemsOrdered;
	private javax.swing.JLabel jLabel1;
	private javax.swing.JLabel jLabel15;
	private javax.swing.JLabel jLabel16;
	private javax.swing.JLabel jLabel7;
	private javax.swing.JLayeredPane jLayeredPane1;
	private javax.swing.JList jList1;
	private javax.swing.JPanel jPanel1;
	private javax.swing.JButton jPanel1Forward;
	private javax.swing.JLabel jPanel1Label;
	private javax.swing.JPanel jPanel2;
	private javax.swing.JButton jPanel2Back;
	private javax.swing.JButton jPanel2Forward;
	private javax.swing.JLabel jPanel2Label;
	private javax.swing.JPanel jPanel3;
	private javax.swing.JButton jPanel3Back;
	private javax.swing.JButton jPanel3Forward;
	private javax.swing.JLabel jPanel3Label;
	private javax.swing.JPanel jPanel4;
	private javax.swing.JButton jPanel4Back;
	private javax.swing.JLabel jPanel4Label;
	private javax.swing.JScrollPane jScrollPane1;
	private javax.swing.JScrollPane jScrollPane10;
	private javax.swing.JScrollPane jScrollPane11;
	private javax.swing.JScrollPane jScrollPane2;
	private javax.swing.JScrollPane jScrollPane3;
	private javax.swing.JScrollPane jScrollPane4;
	private javax.swing.JScrollPane jScrollPane8;
	private javax.swing.JScrollPane jScrollPane9;
	private javax.swing.JTable jTable1;
	private javax.swing.JTextArea jTextArea1;
	private javax.swing.JTextArea jTextArea2;
	private javax.swing.JTextArea jTextArea3;
	private javax.swing.JTextArea jTextArea4;
	private javax.swing.JTextArea jTextArea5;
	private javax.swing.JTextArea notes;
	private javax.swing.JTextArea notes1;
	private javax.swing.JLabel notesLabel;
	private javax.swing.JLabel notesLabel1;
	private javax.swing.JLabel orderInfo;
	private javax.swing.JComboBox orderList;
	private javax.swing.JComboBox orderList2;
	private javax.swing.JButton processOrder;
	private javax.swing.JButton removeItem;
	private javax.swing.JButton removeItemFromOrder;
	private javax.swing.JLabel selectItemLabel;
	private javax.swing.JLabel selectOrderLabel;
	private javax.swing.JLabel shipInfoLabel;
	private javax.swing.JLabel shipLabel;
	private javax.swing.JScrollPane shippingInfoPane;
	private javax.swing.JTextField statusField;
	private javax.swing.JLabel statusLabel;
	private javax.swing.JButton viewOrderButton;
	private javax.swing.JButton viewOrderCancelButton;
	private javax.swing.JPanel viewOrderPanel;
	// End of variables declaration//GEN-END:variables

}